package com.hna.face.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2017-06-29
 */
@TableName("bf_user")
public class BfUser extends Model<BfUser> {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 登录名称
	 */
	private String username;

	/**
	 * 密码
	 */
	private String userpasswd;

	public List<TreeNode> getOrgList() {
		return orgList;
	}

	public void setOrgList(List<TreeNode> orgList) {
		this.orgList = orgList;
	}

	public List<Long> getAreaids() {
		return areaids;
	}

	public void setAreaids(List<Long> areaids) {
		this.areaids = areaids;
	}

	

	/**
	 * 手机号
	 */
	@TableField(value="admin_phone")
	private String adminPhone;

	/**
	 * 姓名
	 */
	@TableField(value="admin_name")
	private String adminName;

	/**
	 * 身份证号
	 */
	@TableField(value="identification_card")
	private String identificationCard;

	/**
	 * 状态（0:禁用，1:启用）
	 */
	private Integer status;
	
	/**
	 * 是否单位管理员(否:0、是:1)
	 */
	@TableField(value="user_flag")
	private Integer userFlag;

	/**
	 * 创建人
	 */
	private String creator;

	/**
	 * 修改人
	 */
	private String updator;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="update_time")
	private Date updateTime;

	/**
	 * 备注
	 */
	private String remark;
	
	@TableField(exist=false)
	private List<Long> orgIdList;
	
	@TableField(exist=false)
	private List<Long> areaIdList;
	
	@TableField(exist=false)
	private List<TreeNode> orgList;
	
	@TableField(exist=false)
	private List<Long> areaids;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpasswd() {
		return userpasswd;
	}

	public void setUserpasswd(String userpasswd) {
		this.userpasswd = userpasswd;
	}
	
	public List<Long> getOrgIdList() {
		return orgIdList;
	}

	public void setOrgIdList(List<Long> orgIdList) {
		this.orgIdList = orgIdList;
	}
	
	public List<Long> getAreaIdList() {
		return areaIdList;
	}

	public void setAreaIdList(List<Long> areaIdList) {
		this.areaIdList = areaIdList;
	}

	public String getAdminPhone() {
		return adminPhone;
	}

	public void setAdminPhone(String adminPhone) {
		this.adminPhone = adminPhone;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getIdentificationCard() {
		return identificationCard;
	}

	public void setIdentificationCard(String identificationCard) {
		this.identificationCard = identificationCard;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Integer getUserFlag() {
		return userFlag;
	}

	public void setUserFlag(Integer userFlag) {
		this.userFlag = userFlag;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}


	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return null;
	}

}
